﻿using System.Windows.Input;

namespace Toybox.SCM.ViewModels.Config
{
	using Models;
	using Models.Accounts;
	using NicoSharp.Abstracts;

	public class VM_AccountSettingTabItem : AbstractNotifyObject
	{

		#region Public Members

		/// <summary>
		/// Accounts
		/// </summary>
		public AccountCollection Accounts
		{
			get { return this._accounts; }
			set
			{
				if (this._accounts == value) return;
				this._accounts = value;
				base.OnPropertyChanged("Accounts");
			}
		}
		private AccountCollection _accounts;

		#endregion Public Members


		#region Commands

		public ICommand AddAccount
		{
			get
			{
				return this._addAccount ?? (this._addAccount = new RelayCommand<object>((_) =>
				{

				}, (_) =>
				{

					return true;
				}));
			}
		}
		private ICommand _addAccount;

		#endregion Commands

	}
}
